package com.bnyy.health.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2021/12/3
 **/
public class BloodPressDetail implements Serializable {

    private ArrayList<BloodPressData> list;
    private Score score;
    private Avg blood_press_avg;
    private BloodPressReport.Range blood_press_range;
    private HazardLevel danger_grade;
    private Suggestion suggest;
    private MedicationMonitor medications_info;
    private ArrayList<HealthGuideVideo> guide_video;
    private BloodPressureWeekly hwr_detail;
    private BloodPressReport.HeartRate heart_rate;
    private String tips;
    private String sdt, edt;
    private com.bnyy.health.bean.BloodPressureWeekly.Detail.Stats general_info;
    private com.bnyy.health.bean.BloodPressureWeekly.Detail.WarnDetail blood_press_warn;

    public com.bnyy.health.bean.BloodPressureWeekly.Detail.WarnDetail getBlood_press_warn() {
        return blood_press_warn;
    }

    public void setBlood_press_warn(com.bnyy.health.bean.BloodPressureWeekly.Detail.WarnDetail blood_press_warn) {
        this.blood_press_warn = blood_press_warn;
    }

    public com.bnyy.health.bean.BloodPressureWeekly.Detail.Stats getGeneral_info() {
        return general_info;
    }

    public void setGeneral_info(com.bnyy.health.bean.BloodPressureWeekly.Detail.Stats general_info) {
        this.general_info = general_info;
    }

    public BloodPressReport.HeartRate getHeart_rate() {
        return heart_rate;
    }

    public void setHeart_rate(BloodPressReport.HeartRate heart_rate) {
        this.heart_rate = heart_rate;
    }

    public BloodPressReport.Range getBlood_press_range() {
        return blood_press_range;
    }

    public void setBlood_press_range(BloodPressReport.Range blood_press_range) {
        this.blood_press_range = blood_press_range;
    }

    public BloodPressureWeekly getHwr_detail() {
        return hwr_detail;
    }

    public void setHwr_detail(BloodPressureWeekly hwr_detail) {
        this.hwr_detail = hwr_detail;
    }

    public String getSdt() {
        return sdt;
    }

    public void setSdt(String sdt) {
        this.sdt = sdt;
    }

    public String getEdt() {
        return edt;
    }

    public void setEdt(String edt) {
        this.edt = edt;
    }

    public ArrayList<BloodPressData> getList() {
        return list;
    }

    public void setList(ArrayList<BloodPressData> list) {
        this.list = list;
    }

    public Score getScore() {
        return score;
    }

    public void setScore(Score score) {
        this.score = score;
    }

    public Avg getBlood_press_avg() {
        return blood_press_avg;
    }

    public void setBlood_press_avg(Avg blood_press_avg) {
        this.blood_press_avg = blood_press_avg;
    }

    public HazardLevel getDanger_grade() {
        return danger_grade;
    }

    public void setDanger_grade(HazardLevel danger_grade) {
        this.danger_grade = danger_grade;
    }

    public Suggestion getSuggest() {
        return suggest;
    }

    public void setSuggest(Suggestion suggest) {
        this.suggest = suggest;
    }

    public MedicationMonitor getMedications_info() {
        return medications_info;
    }

    public void setMedications_info(MedicationMonitor medications_info) {
        this.medications_info = medications_info;
    }

    public ArrayList<HealthGuideVideo> getGuide_video() {
        return guide_video;
    }

    public void setGuide_video(ArrayList<HealthGuideVideo> guide_video) {
        this.guide_video = guide_video;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    /**
     * 血压数据
     */
    public static class BloodPressData implements Serializable {
        String dt;
        Item item;

        public String getDt() {
            return dt;
        }

        public void setDt(String dt) {
            this.dt = dt;
        }

        public Item getItem() {
            return item;
        }

        public void setItem(Item item) {
            this.item = item;
        }

        public static class Item implements Serializable {

            Data high, low;
            Mode mode;
            boolean is_medications;

            public Data getHigh() {
                return high;
            }

            public void setHigh(Data high) {
                this.high = high;
            }

            public Data getLow() {
                return low;
            }

            public void setLow(Data low) {
                this.low = low;
            }

            public Mode getMode() {
                return mode;
            }

            public void setMode(Mode mode) {
                this.mode = mode;
            }

            public boolean isIs_medications() {
                return is_medications;
            }

            public void setIs_medications(boolean is_medications) {
                this.is_medications = is_medications;
            }

            public static class Data implements Serializable {
                int max, min, avg;

                public int getMax() {
                    return max;
                }

                public void setMax(int max) {
                    this.max = max;
                }

                public int getMin() {
                    return min;
                }

                public void setMin(int min) {
                    this.min = min;
                }

                public int getAvg() {
                    return avg;
                }

                public void setAvg(int avg) {
                    this.avg = avg;
                }
            }

            public static class Mode implements Serializable {
                int high_value, low_value;

                public int getHigh_value() {
                    return high_value;
                }

                public void setHigh_value(int high_value) {
                    this.high_value = high_value;
                }

                public int getLow_value() {
                    return low_value;
                }

                public void setLow_value(int low_value) {
                    this.low_value = low_value;
                }
            }
        }
    }

    /**
     * 血压评分
     */
    public static class Score implements Serializable {
        private String dt;
        private String evaluate;
        private String warn;
        private String warn_img;
        private float value;
        private int high_mode;
        private int low_mode;

        public String getDt() {
            return dt;
        }

        public void setDt(String dt) {
            this.dt = dt;
        }

        public String getEvaluate() {
            return evaluate;
        }

        public void setEvaluate(String evaluate) {
            this.evaluate = evaluate;
        }

        public String getWarn() {
            return warn;
        }

        public void setWarn(String warn) {
            this.warn = warn;
        }

        public String getWarn_img() {
            return warn_img;
        }

        public void setWarn_img(String warn_img) {
            this.warn_img = warn_img;
        }

        public float getValue() {
            return value;
        }

        public void setValue(float value) {
            this.value = value;
        }

        public int getHigh_mode() {
            return high_mode;
        }

        public void setHigh_mode(int high_mode) {
            this.high_mode = high_mode;
        }

        public int getLow_mode() {
            return low_mode;
        }

        public void setLow_mode(int low_mode) {
            this.low_mode = low_mode;
        }
    }

    /**
     * 血压平均值
     */
    public static class Avg implements Serializable {

        private Data total, daytime, night;

        public Data getTotal() {
            return total;
        }

        public void setTotal(Data total) {
            this.total = total;
        }

        public Data getDaytime() {
            return daytime;
        }

        public void setDaytime(Data daytime) {
            this.daytime = daytime;
        }

        public Data getNight() {
            return night;
        }

        public void setNight(Data night) {
            this.night = night;
        }

        public static class Data implements Serializable {

             int high_value;
             int low_value;
             String refer;

            public int getHigh_value() {
                return high_value;
            }

            public void setHigh_value(int high_value) {
                this.high_value = high_value;
            }

            public int getLow_value() {
                return low_value;
            }

            public void setLow_value(int low_value) {
                this.low_value = low_value;
            }

            public String getRefer() {
                return refer;
            }

            public void setRefer(String refer) {
                this.refer = refer;
            }
        }
    }

    /**
     * 危险等级
     */
    public static class HazardLevel implements Serializable {

        String evaluate, evaluate_desc, evaluate_desc_value, update_warn;
        ArrayList<Item> items;

        public String getEvaluate_desc_value() {
            return evaluate_desc_value;
        }

        public void setEvaluate_desc_value(String evaluate_desc_value) {
            this.evaluate_desc_value = evaluate_desc_value;
        }

        public String getEvaluate() {
            return evaluate;
        }

        public void setEvaluate(String evaluate) {
            this.evaluate = evaluate;
        }

        public String getEvaluate_desc() {
            return evaluate_desc;
        }

        public void setEvaluate_desc(String evaluate_desc) {
            this.evaluate_desc = evaluate_desc;
        }

        public String getUpdate_warn() {
            return update_warn;
        }

        public void setUpdate_warn(String update_warn) {
            this.update_warn = update_warn;
        }

        public ArrayList<Item> getItems() {
            return items;
        }

        public void setItems(ArrayList<Item> items) {
            this.items = items;
        }

        public static class Item implements Serializable{
            String title, content, img;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }
        }
    }

    /**
     * 专家建议
     */
    public static class Suggestion implements Serializable {
        String content, desc, img, name;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    /**
     * 药效监测
     */
    public static class MedicationMonitor implements Serializable {
        private ArrayList<MedicationRecord> list;
        private int count;
        private int effectivity_count;
        private int not_effectivity_count;
        private String not_effectivity_str;
        private String effectivity_str;

        public ArrayList<MedicationRecord> getList() {
            return list;
        }

        public void setList(ArrayList<MedicationRecord> list) {
            this.list = list;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getEffectivity_count() {
            return effectivity_count;
        }

        public void setEffectivity_count(int effectivity_count) {
            this.effectivity_count = effectivity_count;
        }

        public int getNot_effectivity_count() {
            return not_effectivity_count;
        }

        public void setNot_effectivity_count(int not_effectivity_count) {
            this.not_effectivity_count = not_effectivity_count;
        }

        public String getNot_effectivity_str() {
            return not_effectivity_str;
        }

        public void setNot_effectivity_str(String not_effectivity_str) {
            this.not_effectivity_str = not_effectivity_str;
        }

        public String getEffectivity_str() {
            return effectivity_str;
        }

        public void setEffectivity_str(String effectivity_str) {
            this.effectivity_str = effectivity_str;
        }
    }

    public static class BloodPressureWeekly extends com.bnyy.health.bean.BloodPressureWeekly.Detail {
        private int user_id;
        private String img;
        private int status;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }

}






















